NOTE: This Technical Q&A has been retired. Please see the Technical Q&As page for current documentation.

Technical Q&A NW07
MacTCP and UDP Performance


Q: We are trying to tunnel IPX through MacTCP (version 2.0.X), and we are experiencing a performance slowdown. We ran some timing tests on our routines and noticed that it takes approximately 10 milliseconds between when we post the read to UDP and when our completion routine is called. It also takes approximately 10 milliseconds for our send completion routine to be called after we post a send to UDP. How does MacTCP implement the completion-routine calling mechanism to its clients? Is there some sort of timer involved? Is there anything that we can do to speed up this process?

A: The sluggish performance you are experiencing with UDP stems from MacTCP's use of a Time Manager task (scheduled every 10 milliseconds) to process UDP commands. Since this portion of MacTCP would have to be rewritten to eliminate the Time Manager tasks, there doesn't appear to be anything you can do to improve the UDP performance.

[May 01 1995]


Developer Documentation | Technical Notes | Development Kits | Sample Code